/* !FormText.textfile.h */
/* Processes text file */

#ifndef __textfile_h
#define __textfile_h

#ifndef __toolbox_h
#include "toolbox.h"
#endif

#define FileType_Text 0xfff

/* Sets up textfile ready to be triggered by events */
void textfile_initialise(void);

/* Clears any loaded text file */
void textfile_clear(void);

/* Does all stages of processing and sets up SaveAs pointer */
int textfile_process(ObjectId saveas_id);

#endif
